package com.example.musicbox.service;

import com.example.musicbox.entity.MMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.musicbox.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 帅哥是我
 * @since 2022-08-01
 */
public interface MMessageService extends IService<MMessage> {

    Result insertMessage(MMessage mMessage,String token);

    Result deleteMessage(Integer id,String token);

    Result selectById(Integer id,String token);

    Result selectByList(String token,Integer p,Integer s);

}
